//package com.china.produce.config.datasource;
//
//
//import com.china.produce.config.db.DBContextHolder;
//import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;
//
///**
// * @ClassName
// * @Author niujie
// * @Version
// * @Description
// * @CreateTime 2023/6/10
// */
//public class DynamicDataSource extends AbstractRoutingDataSource {
//
//    @Override
//    protected Object determineCurrentLookupKey() {
//        return "db" + DBContextHolder.getDBKey();
//    }
//}
